/**
 * Copyright (C) 2012-2013 jumei, Inc.
 * Message.java
 * 2015年6月23日
 */
package org.goface.rpc;

import java.io.Serializable;
import java.util.Map;

/**
 * @author jm110
 */
public class Message implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String serviceName;
    private String operator;
    private Object[] args;
    private Object reply;
    private String cause;
    private Map<String,Object>orders;

    /**
     * @return the serviceName
     */
    public String getServiceName() {
        return serviceName;
    }

    /**
     * @param serviceName
     *            the serviceName to set
     */
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    /**
     * @return the operator
     */
    public String getOperator() {
        return operator;
    }

    /**
     * @param operator
     *            the operator to set
     */
    public void setOperator(String operator) {
        this.operator = operator;
    }

    /**
     * @return the args
     */
    public Object[] getArgs() {
        return args;
    }

    /**
     * @param args the args to set
     */
    public void setArgs(Object[] args) {
        this.args = args;
    }

    /**
     * @return the orders
     */
    public Map<String, Object> getOrders() {
        return orders;
    }

    /**
     * @param orders the orders to set
     */
    public void setOrders(Map<String, Object> orders) {
        this.orders = orders;
    }

    /**
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the reply
     */
    public Object getReply() {
        return reply;
    }

    /**
     * @param reply the reply to set
     */
    public void setReply(Object reply) {
        this.reply = reply;
    }

    /**
     * @return the cause
     */
    public String getCause() {
        return cause;
    }

    /**
     * @param cause the cause to set
     */
    public void setCause(String cause) {
        this.cause = cause;
    }
}
